package com.smitish.vueblog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smitish.vueblog.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smitish.vueblog.vo.BlogUserVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Smitish
 * @since 2020-11-30
 */
public interface BlogService extends IService<Blog> {

    // 多表查询分页
    Page<BlogUserVO> getBlogUser(Page<BlogUserVO> page);

    // 模糊查询
    Page<BlogUserVO> getUnknownBlog(String content, Page<BlogUserVO> page);
}
